package org.aman.generator.util;

import java.io.IOException;
import java.io.StringReader;

import org.xml.sax.EntityResolver;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;

/**
 * @desc <p></p>
 * @author DaiJiangGuo
 * @date 2015年5月17日下午3:03:28
 */
public class NullEntityResolver implements EntityResolver {

    public InputSource resolveEntity(String publicId, String systemId)
            throws SAXException, IOException {

        StringReader sr = new StringReader(""); //$NON-NLS-1$

        return new InputSource(sr);
    }

}
